package zen2d;


import java.awt.*;

/**
 * @author ysg
 * @date 2020/12/3 15:53
 */
public interface MouseEventListener {

    void mousePressed(Point point);

    void mouseReleased(Point point);

    /**
     * 鼠标滑轮事件 wheelRotation=正数，则滑轮向前；wheelRotation=负数，则滑轮向后
     * @param wheelRotation
     */
    void mouseWheelMoved(int wheelRotation);

    void mouseDragged(Point point);

    void mouseMoved(Point point);

}
